package com.loan.system.domain;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import com.loan.common.core.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @author shiguang on 2022/9/7 15:09
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("vn_apply_product")
@ExcelIgnoreUnannotated
@ApiModel("贷款产品信息配置表")
public class ApplyProductEntity extends BaseEntity {

    private static final long serialVersionUID = 1L;

    private Long id;

    /**
     * 名称
     */
    private String name;

    /**
     * 公司ID
     */
    private Long companyId;

    /**
     * 周期
     */
    private Integer applyCycle;

    /**
     * 逾期利率
     */
    private Integer expireRate;

    /**
     * 日利率
     */
    private Integer dayRate;

    /**
     * 服务费
     */
    private Integer serviceMoney;

    /**
     * 贷款金额
     */
    private Integer applyMoney;

    /**
     * 实际到账金额
     */
    private Integer realApplyMoney;

    /**
     * 风控服务费
     */
    private Integer riskMoney;

    /**
     * 支付服务费
     */
    private Integer paymentMoney;

    /**
     * 状态
     */
    private String status;

    @TableField(exist = false)
    private String companyName;

    @TableLogic
    private String delFlag;

    /**
     * 账号管理费
     */
    private Integer manageMoney;

}
